package com.lee.demonacosclient.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @ClassName BaiduFeignClient
 * @Description TODO
 * @Author leejiliang
 * @DateTime 2020/9/20 10:28 AM
 * @Version 1.0
 */
@FeignClient(name = "baidu", url = "http://www.baidu.com")
public interface BaiduFeignClient {
	@GetMapping
	String index();
}
